#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:urls.py
# author:熊泓钦
# datetime:2024/3/19 8:52
# software: PyCharm

"""
this is function  description 
"""

# import module your need
from flask_restful import Api

from . import adminlogin_blueprint
from api_1_0.commonResource.loginResource import AdminLoginResource, StuLoginResource, TeacherLoginResource

api = Api(adminlogin_blueprint)

# 超管登录
api.add_resource(AdminLoginResource, '/adminlogin', endpoint='adminlogin')

# 学生登录
api.add_resource(StuLoginResource, '/stulogin', endpoint='stulogin')

# 教师登录
api.add_resource(TeacherLoginResource, '/teacherlogin', endpoint='teacherlogin')